﻿<Controls:MetroWindow x:Class="WPF.TestEditor.Processing"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        ShowInTaskbar="False" Width="350" Height="250"
        ShowMinButton="False"  ShowCloseButton="False" ShowMaxRestoreButton="False" WindowStyle="None" WindowStartupLocation="CenterOwner">
    <Grid Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>        
        <Grid  Grid.Row="2" Grid.Column="1" Width="300" Height="200">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="24" />
                <RowDefinition Height="*" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>            
            <TextBlock Grid.Row="0" Name="txtProgress"/>
            <ProgressBar Grid.Row="1" Name="prbProgress"/>
            <StackPanel Grid.Row="3" HorizontalAlignment="Right">
                <Button Name="btnCancel" Content="Cancel" Style="{DynamicResource ChromelessButtonStyle}"/>
            </StackPanel>
        </Grid >        
    </Grid>
</Controls:MetroWindow>
